<?php

namespace app\admin\controller;

use app\admin\service\MenuService;
use  app\common\controller\DBase;
use  think\facade\Request;
use  app\admin\logic\AdminLogic;
use  think\App;
class Admin extends DBase
{

    protected $adminLogic = null;
    public function __construct(App $app,AdminLogic $adminLogic)
    {
        parent::__construct($app);
        $this->adminLogic = $adminLogic;
    }
     /**
      * @desc 登录发送短信验证码
      * @author  xx
      * @date 2024-02-29
      */
     public function sendSms(){
         $data    = $this->request->post();
         return $this->adminLogic->sendSms($data);
     }

     /**
      * @desc 获取短信后登录平台
      * @author xx
      * @date 2024-03-01
      */
     public function telLogin(){
         $data   = $this->request->post();
         return $this->adminLogic->telLogin($data);
     }


    /**
     * @desc   获取短信后登录平台
     * @author xx
     * @date   2025-05-01
     */
    public function codeLogin(){
        $data   = $this->request->post();
        return $this->adminLogic->codeLogin($data);
    }




     /**
      * @desc 登出接口
      * @author xx
      * @date 2024-03-05
      */
    public function loginOut()
    {
        $data   = $this->request->post();
        return $this->adminLogic->loginOut($data);
    }


    /**
      * @desc 同步到待退款列表
      * @author xx
      * @date 2025-03-01
      */
    public function RegistrationRefund(){
        $data   = $this->request->post();
        return $this->adminLogic->RegistrationRefund($data);
    }

    /**
      * @desc 同步到待退款列表
      * @author xx
      * @date 2025-03-01
      */
    public function RegistrationRefundedit(){
        $data   = $this->request->post();
        return $this->adminLogic->RegistrationRefundedit($data);
    }
    /**
      * @desc 同步到待退款详情
      * @author xx
      * @date 2025-03-01
      */
    public function RegistrationRefundinfo(){
        $data   = $this->request->post();
        return $this->adminLogic->RegistrationRefundinfo($data);
    }












}